<template>
  <div>
    <h1 style="text-align: center">网氪金账号登录</h1>
    <h1 style="text-align: center">暂时还没有网站的logo</h1>
    <hr>
    <p style="font-size: 20px;text-align: center">让每个人都享受氪金的快乐</p>
    <van-form @submit="onSubmit">
      <van-field
          v-model="username"
          name="用户名"
          label="用户名:"
          placeholder="请输入用户名"
          :rules="[{ required: true, message: '请填写网氪金用户名' }]"
      />
      <van-field
          v-model="password"
          type="password"
          name="密码"
          label="密码:"
          placeholder="请输入密码"
          :rules="[{ required: true, message: '请填写密码' }]"
      />
      <br>
      <van-checkbox v-model="checked" icon-size="15px">
        已阅读并同意网氪金账号<a href="">用户协议</a>和<a href="">隐私政策</a>
      </van-checkbox>
      <br>
      <div style="margin: 16px;">
        <van-button round block type="info" native-type="submit">登录</van-button>
      </div>
    </van-form>
    <br>
    <van-row type="flex" justify="center" style="text-align: center">
      <van-col span="5">手机号登录</van-col>
      <van-col span="5">立即注册</van-col>
      <van-col span="5">忘记密码?</van-col>
    </van-row>
    <van-divider dashed>其他登录方式</van-divider>

  </div>
</template>

<script>
export default {
  name: "add",
  data() {
    return {
      username: '',
      password: '',
      checked: false,
    };
  },
  methods: {
    onSubmit(values) {
      console.log('submit', values);
    },
  },

}
</script>

<style scoped>

</style>
